#
#
CLEANFILES = *~
DISTCLEANFILES = *~

if ECM_DEBUG
BFD = -lbfd @BFD_DEP_LIBS@
endif

INCLUDES = -I../../lib/libbase -I../../lib/libsr -I../../lib/libebc -I../../lib/libeds

bin_PROGRAMS = ebcd
ebcd_SOURCES = ebcd.c ebcd_mch.c route.c ebcd_pch.c \
		ebcd_snr.c ebcd_accept.c ebcd_epch.c ebcd_lpch.c \
		ebcd.h ebcd_dbg.c \
		audit.c audit.h monitor.c monitor.h \
		reader.c router.c alivecheck.c detection.c \
		peercon.c peercon.h

ebcd_LDADD = ../../lib/libeds/libeds.la ../../lib/libedb/libedb.la ../../lib/libebc/libebc.la ../../lib/libsr/libsr.la ../../lib/libbase/libbase.la -lm @LINK_DL@ -lpthread $(BFD)
